import request from "@/utils/request";
//请求列表
export function reqDcList(query) {
  return request({
    url: "/mes/exfactoryreport/dc/list",
    method: "get",
    params: query,
  });
}
//新增
export function reqDcAdd(data) {
  return request({
    url: "/mes/exfactoryreport/dc",
    method: "post",
    data: data,
  });
}
export function reqInfo(id) {
  return request({
    url: `/mes/exfactoryreport/dc/${id}`,
    method: "get",
  });
}
export function upDateInfo(data) {
  return request({
    url: "/mes/exfactoryreport/dc",
    method: "put",
    data: data,
  });
}

export function deleteRow(ids) {
  return request({
    url: `/mes/exfactoryreport/dc/${ids}`,
    method: "delete",
  });
}
